package com.seashop.constant;

/**
 * @author moredln
 * @desc Redis常量
 * @date 2020-08-12 10:38
 */
public class RedisConstant {

    // 用户token
    public final static String USER_BASE_TOKEN = "u:%s:token";
    // 用户验证码
    public final static String MOBILE_BASE_MSG = "m:%s:msg";
    // 分类信息
    public final static String PRODUCT_BASE_CATEGORY = "p:%s:category";
    // 短信验证码前缀
    public final static String MSG_CODE_PREFIX = "msgCode_";
    // 每日短信限制条数
    public final static String SMS_LIMIT = "SMS_LIMIT";
    // APP首页配置信息
    public static final String APP_HOME_CONFIG_INFO = "APP_HOME_CONFIG";
    // 其他节点正在刷新
    public static final String OTHER_NODE_REFRESHING_KEY = "other_node_refreshing";
    // 上次更新树
    public static final String LAST_UPDATE_TIME_KEY = "last_tree_update";
    // 没有父类的成员
    public static final String NO_PARENT_MEMBERS = "noParentMembersRedis";
    // member regulation version
    public static final String CURRENT_MEMBER_RULE_VERSION = "1.0";

}
